#pragma once
#include"Socket.h"
#include"EventLoop.h"
#include"Channel.h"
#include"InetAddress.h"
class EventLoop;
class Connection
{
private:
    /* data */
    EventLoop* loop_;
    Socket* clientsock_;
    Channel *clientchannel_;

public:
    Connection(EventLoop* loop,Socket*clientsock);
    ~Connection();
};


